<?php

namespace App\Services\Applet\Notice;

use Exception;

class SysMessageService extends BaseNoticeService
{

    /**
     * 公告消息列表
     * @return array
     * @throws Exception
     */
    public function list(): array
    {
        return $this->getSysMessageModel()->releaseList([
            'id', 'title', 'describe'
        ]);
    }
}
